<script lang="ts" setup>
import useChannels from '../store'
const { channels } = useChannels()
channels.getChannel()

</script>

<template>
  <ul class="catagtory">
    <li @click="channels.changeActive(item.id)" :class="{select :channels.active === item.id}" v-for="item in channels.list" :key="item.id">{{item.name}}</li>
  </ul>
</template>

<style scoed lang="less"></style>
